package com.mstar.qs.common.jmx;


public class MBeanAgent<T> extends ObjectMBean<T> {
	private String objectNameStr;

	public MBeanAgent(T source, String[] includingOperations, String[] includingAttribute) {
		super(source, includingOperations, includingAttribute);
	}

	public MBeanAgent(T source) {
		super(source);
	}
	
	public void setObjectNameStr(String domain, String type, String name) {
		StringBuilder sb = new StringBuilder();
		sb.append(domain).append(":");
		sb.append("type=").append(type).append(",");
		sb.append("name=").append(name);
		objectNameStr=sb.toString();
	}
	
	public String getObjectNameStr() {
		return objectNameStr;
	}
	
}
